home *** CD-ROM | disk | FTP | other *** search
/ Power Game Pak 2 / Power Game Pak volume 2.iso / cylindrx / makefile < prev    next >
Makefile  |  1996-02-13  |  3KB  |  79 lines

  1. CFLAGS = -Wall -O3 -m486
  2. LFLAGS = -lpc -lc -lm
  3. CC = gcc
  4. LIBS = sb_lib.a
  5.  
  6. .c.o:
  7.     $(CC) $(CFLAGS) -c $<
  8.  
  9. OBJS    = \
  10.     omega.o pylon.o object.o movement.o prim.o pcx.o fx.o \
  11.     text.o keys.o clipping.o util.o serial.o collide.o \
  12.     project.o timer.o ai_util.o ai.o motor.o states.o fli.o radar.o \
  13.     tanks.o base.o packets.o modem.o jonmouse.o hud.o joy.o config.o \
  14.     level.o jonsb.o ai_move.o events.o explode.o do_state.o textmenu.o \
  15.     main.o energy.o user.o path.o voices.o commands.o input.o menu.o \
  16.         joncd.o stats.o dosbuff.o jonipx.o gameipx.o
  17.  
  18. prog :  $(OBJS)
  19.     gcc -c -Wall serial.c
  20.     $(CC) -o omega $(OBJS) $(LIBS) $(LFLAGS)
  21.  
  22. omega.o: omega.c types.h pylon.h object.h movement.h prim.h pcx.h fx.h \
  23.      text.h keys.h clipping.h util.h serial.h collide.h \
  24.      project.h timer.h ai_util.h ai.h motor.h states.h fli.h radar.h \
  25.      tanks.h base.h packets.h modem.h jonmouse.h hud.h joy.h config.h \
  26.      level.h jonsb.h events.h explode.h do_state.h textmenu.h main.h \
  27.          energy.h user.h path.h voices.h commands.h input.h menu.h joncd.h \
  28.          stats.h dosbuff.h jonipx.h gameipx.h
  29.  
  30.  
  31. dosbuff.o: dosbuff.c dosbuff.h types.h
  32. gameipx.o: gameipx.c gameipx.h jonipx.h types.h
  33. jonipx.o: jonipx.c jonipx.h dosbuff.h types.h
  34. stats.o: stats.c stats.h types.h
  35. joncd.o: joncd.c joncd.h
  36. menu.o : menu.c menu.h prim.h types.h
  37. input.o: input.c input.h types.h timer.h keys.h joy.h
  38. commands.o: commands.h commands.c types.h ai.h voices.h
  39. voices.o: types.h voices.c voices.h ai.h
  40. textmenu.o : textmenu.c textmenu.h types.h
  41. main.o : main.c main.h types.h joy.h stats.h ai_util.h ai.h
  42. energy.o : energy.c energy.h types.h ai_util.h
  43. user.o : user.c user.h types.h menu.h
  44. pylon.o: pylon.c pylon.h types.h util.h ai_util.h
  45. object.o: object.c object.h types.h util.h
  46. movement.o: movement.c movement.h types.h util.h
  47. prim.o: prim.c prim.h types.h pcx.h util.h
  48. pcx.o: pcx.c pcx.h types.h prim.h
  49. fx.o: fx.c fx.h types.h
  50. text.o: text.c text.h types.h
  51. keys.o: keys.c keys.h types.h util.h
  52. clipping.o: clipping.c clipping.h types.h util.h
  53. util.o: util.c util.h types.h
  54. serial.o: serial.c serial.h packets.h types.h
  55. collide.o: collide.c collide.h types.h util.h stats.h ai_util.h ai.h
  56. project.o: project.c project.h types.h stats.h
  57. timer.o: timer.c timer.h types.h
  58. ai_util.o: ai_util.c ai_util.h ai.h types.h
  59. ai.o: ai.c ai.h ai_util.h motor.h states.h types.h util.h ai_move.h events.h path.h
  60. motor.o: motor.c motor.h types.h path.h
  61. events.o: events.c events.h types.h ai.h path.h ai_util.h
  62. states.o: states.c states.h types.h ai.h path.h
  63. do_state.o: do_state.c do_state.h types.h ai.h states.h events.h path.h
  64. path.o: path.c path.h ai.h types.h
  65. fli.o: fli.c fli.h prim.h pcx.h types.h
  66. radar.o: radar.c radar.h types.h util.h
  67. tanks.o: tanks.c tanks.h types.h util.h
  68. base.o: base.c base.h types.h util.h
  69. packets.o: packets.c packets.h types.h util.h ai.h
  70. modem.o: modem.c modem.h serial.h types.h
  71. jonmouse.o: jonmouse.c jonmouse.h types.h
  72. hud.o: hud.c hud.h types.h util.h
  73. joy.o: joy.c joy.h types.h keys.h
  74. config.o: config.c config.h types.h serial.h
  75. level.o: level.c level.h types.h
  76. jonsb.o: jonsb.c jonsb.h types.h util.h ai_util.h
  77. ai_move.o: ai_move.c ai_move.h ai_util.h ai.h types.h motor.h
  78. explode.o: explode.h explode.h types.h
  79.